#ifndef __TIM1_H
#define __TIM1_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "main.h"           // ?? STM32 ??????,??????? stm32f1xx_hal.h
#include "stm32f1xx_hal.h"   // ?? STM32 HAL ????,?? TIM_HandleTypeDef ??

/* Exported types ------------------------------------------------------------*/
/* TIM1 Handle structure */
extern TIM_HandleTypeDef htim1;

/* Exported constants --------------------------------------------------------*/
/* ?? PWM ??????????? */

 /* Exported functions prototypes -------------------------------------------*/
void MX_TIM1_Init(void);
void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle);
void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef* tim_pwmHandle);



#ifdef __cplusplus
}
#endif

#endif /* __TIM1_H */
